<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * UserLoginLog
 *
 * @ORM\Table(name="user_login_log")
 * @ORM\Entity
 */
class UserLoginLog
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="userAccount", type="string", length=50, nullable=false)
     */
    private $useraccount;

    /**
     * @var int
     *
     * @ORM\Column(name="loginTime", type="integer", nullable=false)
     */
    private $logintime;

    /**
     * @var string
     *
     * @ORM\Column(name="loginIp", type="string", length=20, nullable=false)
     */
    private $loginip;

    /**
     * @var string
     *
     * @ORM\Column(name="loginRequest", type="text", length=0, nullable=false)
     */
    private $loginrequest;

    /**
     * @var string
     *
     * @ORM\Column(name="userAgent", type="text", length=0, nullable=false)
     */
    private $useragent;

    /**
     * @var int
     *
     * @ORM\Column(name="passwordError", type="integer", nullable=false)
     */
    private $passworderror;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getUseraccount(): ?string
    {
        return $this->useraccount;
    }

    public function setUseraccount(string $useraccount): self
    {
        $this->useraccount = $useraccount;

        return $this;
    }

    public function getLogintime(): ?int
    {
        return $this->logintime;
    }

    public function setLogintime(int $logintime): self
    {
        $this->logintime = $logintime;

        return $this;
    }

    public function getLoginip(): ?string
    {
        return $this->loginip;
    }

    public function setLoginip(string $loginip): self
    {
        $this->loginip = $loginip;

        return $this;
    }

    public function getLoginrequest(): ?string
    {
        return $this->loginrequest;
    }

    public function setLoginrequest(string $loginrequest): self
    {
        $this->loginrequest = $loginrequest;

        return $this;
    }

    public function getUseragent(): ?string
    {
        return $this->useragent;
    }

    public function setUseragent(string $useragent): self
    {
        $this->useragent = $useragent;

        return $this;
    }

    public function getPassworderror(): ?int
    {
        return $this->passworderror;
    }

    public function setPassworderror(int $passworderror): self
    {
        $this->passworderror = $passworderror;

        return $this;
    }


}
